// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

// vant
import { Toast } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { NoticeBar } from 'vant';
import { Empty } from 'vant';
import { NavBar } from 'vant';
import { Lazyload } from 'vant';
import { Circle,Progress,List,Sticky } from 'vant';

Vue.use(Sticky);
Vue.use(List);
Vue.use(Progress);
Vue.use(Circle);
Vue.use(Lazyload,{ lazyComponent: true});
Vue.use(NavBar);
Vue.use(Empty);
Vue.use(NoticeBar);
Vue.use(Swipe);
Vue.use(SwipeItem);
// echarts
import echarts from 'echarts'
Vue.prototype.$echarts = echarts

// vConsole
// import vConsole from '@/untils/vconsole.js'

import './icons'
// 公共CSS
import '@/styles/index.css'
// reset css
import 'normalize.css'
Vue.config.productionTip = false

Vue.use(Toast);
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
